package com.site.wisdom_construction.dao.personnelModule;

import com.site.wisdom_construction.entity.personnelModule.EducationTechnicalDisclosureRecord;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/6
 * @Description
 */
public interface EducationTechnicalDisclosureRecordDao {
    /** 增加入岗教育安全技术交底记录 */
    int insertEducationTechnicalDisclosureRecord(Map map);

    /** 删除入岗教育安全技术交底记录 */
    int deleteEducationTechnicalDisclosureRecord(Map map);

    /** 修改入岗教育安全技术交底记录 */
    int updateEducationTechnicalDisclosureRecord(Map map);

    /** 分页模糊查询安全技术交底记录 */
    List<EducationTechnicalDisclosureRecord> findEducationTechnicalDisclosureRecordByPage(Map map);

    /** 统计分页总数 */
    long Total(Map map);

    /** 根据id查询安全技术交底记录 */
    EducationTechnicalDisclosureRecord findEducationTechnicalDisclosureRecordById(Map map);

    /** 根据工人身份证号查询对应安全技术交底记录信息 */
    List<EducationTechnicalDisclosureRecord> findEducationTechnicalDisclosureRecordByWorkerCard(Map map);

    /** 分页模糊查询教育负责人对应的安全技术交底记录 */
    List<EducationTechnicalDisclosureRecord> findEducationTechnicalDisclosureRecordByManagerialId(Map map);

    /** 统计分页总数(教育负责人) */
    long TotalByManagerialId(Map map);
}
